/*
 * Copyright 2022 The Open Islands Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.openislands.oi.pojo.qo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@ApiModel(value = "node route update")
public class RouteUpdateQO implements Serializable {
    @NotNull
    @ApiModelProperty("route primary key id")
    private Long id;
    @NotBlank
    @ApiModelProperty("http access address")
    private String httpAccess;
    @ApiModelProperty("https access address")
    private String httpsAccess;
    @ApiModelProperty("grpc access address")
    private String grpcAccess;
    @ApiModelProperty("grpcs access address")
    private String grpcsAccess;
    private Boolean tlsEnabled;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getHttpAccess() {
        return httpAccess;
    }

    public void setHttpAccess(String httpAccess) {
        this.httpAccess = httpAccess;
    }

    public String getHttpsAccess() {
        return httpsAccess;
    }

    public void setHttpsAccess(String httpsAccess) {
        this.httpsAccess = httpsAccess;
    }

    public String getGrpcAccess() {
        return grpcAccess;
    }

    public void setGrpcAccess(String grpcAccess) {
        this.grpcAccess = grpcAccess;
    }

    public String getGrpcsAccess() {
        return grpcsAccess;
    }

    public void setGrpcsAccess(String grpcsAccess) {
        this.grpcsAccess = grpcsAccess;
    }

    public Boolean getTlsEnabled() {
        return tlsEnabled;
    }

    public void setTlsEnabled(Boolean tlsEnabled) {
        this.tlsEnabled = tlsEnabled;
    }
}
